package com.ruoyi.net.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务-MTN Channel cross对象 busi_mtn_channel_cross
 * 
 * @author tony
 * @date 2024-12-28
 */
public class BusiMtnChannelCross extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 交叉名称 */
    @Excel(name = "交叉名称")
    @ApiModelProperty(value = "交叉名称")
    private String crossName;

    /** MTN Channel主键 */
    @Excel(name = "MTN Channel主键")
    @ApiModelProperty(value = "MTN Channel主键")
    private String mtnChannelId;

    /** 宿端口id */
    @Excel(name = "宿端口id")
    @ApiModelProperty(value = "宿端口id")
    private String endFgClientId;

    /** 源端口id */
    @Excel(name = "源端口id")
    @ApiModelProperty(value = "源端口id")
    private String startFgClientId;

    /** 源网元 */
    @Excel(name = "源网元")
    @ApiModelProperty(value = "源网元")
    private String startElement;

    /** 宿网元 */
    @Excel(name = "宿网元")
    @ApiModelProperty(value = "宿网元")
    private String endElement;

    /** 时隙粒度（默认5G） */
    @Excel(name = "时隙粒度", readConverterExp = "默=认5G")
    @ApiModelProperty(value = "时隙粒度")
    private String faultSize;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2已删除） */
    private String delFlag;

    /** 激活用户 */
    @Excel(name = "激活用户")
    @ApiModelProperty(value = "激活用户")
    private String activateUser;

    /** 激活时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "激活时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "激活时间")
    private Date activateTime;

    public String getEndFgClientId() {
        return endFgClientId;
    }

    public void setEndFgClientId(String endFgClientId) {
        this.endFgClientId = endFgClientId;
    }

    public String getStartFgClientId() {
        return startFgClientId;
    }

    public void setStartFgClientId(String startFgClientId) {
        this.startFgClientId = startFgClientId;
    }

    private String elementId;

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCrossName(String crossName) 
    {
        this.crossName = crossName;
    }

    public String getCrossName() 
    {
        return crossName;
    }
    public void setMtnChannelId(String mtnChannelId) 
    {
        this.mtnChannelId = mtnChannelId;
    }

    public String getMtnChannelId() 
    {
        return mtnChannelId;
    }
    public void setStartElement(String startElement)
    {
        this.startElement = startElement;
    }

    public String getStartElement() 
    {
        return startElement;
    }
    public void setEndElement(String endElement) 
    {
        this.endElement = endElement;
    }

    public String getEndElement() 
    {
        return endElement;
    }
    public void setFaultSize(String faultSize) 
    {
        this.faultSize = faultSize;
    }

    public String getFaultSize() 
    {
        return faultSize;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setActivateUser(String activateUser) 
    {
        this.activateUser = activateUser;
    }

    public String getActivateUser() 
    {
        return activateUser;
    }
    public void setActivateTime(Date activateTime) 
    {
        this.activateTime = activateTime;
    }

    public Date getActivateTime() 
    {
        return activateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("crossName", getCrossName())
            .append("mtnChannelId", getMtnChannelId())
            .append("startElement", getStartElement())
            .append("endElement", getEndElement())
            .append("faultSize", getFaultSize())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("activateUser", getActivateUser())
            .append("activateTime", getActivateTime())
            .toString();
    }
}
